.PHNOY:all
all:registry.exe discover.exe


registry.exe:registry.cc
	g++ -o $@ $^ -std=c++11 -letcd-cpp-api -lcpprest -lgflags -lspdlog -lfmt

discover.exe:discover.cc
	g++ -o $@ $^ -std=c++11 -letcd-cpp-api -lcpprest -lgflags -lspdlog -lfmt


.PHNOY:clean
clean:
	rm -rf *.exe